'use strict'
const port = process.env.port || process.env.npm_config_port || 8080 // dev port
module.exports = {
  publicPath: '/shop/',
  outputDir: 'shop',
  assetsDir: 'static',
  // lintOnSave: process.env.NODE_ENV === 'development',
  lintOnSave: false,
  productionSourceMap: false,

  devServer: {
    port: port,
    open: true,
    overlay: {
      warnings: false,
      errors: true
    }
    // proxy: {
    //   '/dev-api': {
    //     target: '',
    //     pathRewrite: { '^/dev-api': '' }
    //   }
    // }
    // after: require('./mock/mock-server.js')
  }

}
